

// GradientNoise.h

// Declares a cGradientNoise class representing a gradient noise generator, based on LibNoise sources

// Since this is based on LibNoise sources, we should probably mention their licence: LibNoise is LGPL
// Go grab it at libnoise.sourceforge.net





#pragma once





class cGradientNoise
{
public:
	cGradientNoise(int a_Seed);
	
	static const double GradientVectorTable[];
	
	double GetValue(double a_X, double a_Y, double a_Z);
	
protected:
	int m_Seed;
	
	double GradientNoise3D(double fx, double fy, double fz, int ix, int iy, int iz);
} ;




